package com.wanban.downloader.db.room

import androidx.room.migration.Migration
import androidx.sqlite.db.SupportSQLiteDatabase

class MIGRATION_1_2 : Migration(1, 2){
    override fun migrate(database: SupportSQLiteDatabase) {
        database.execSQL("ALTER TABLE downloadentity ADD COLUMN `downloadType` INTEGER NOT NULL DEFAULT -1")
    }
}